﻿using UnityEngine;
using UnityEditor;
using PureMVC.Patterns;
using PureMVC.Interfaces;
using OrderSystem;

public class WaiterWaitClientHelloCommand : SimpleCommand
{
    public override void Execute(INotification notification)
    {
        base.Execute(notification);
        Debug.Log("开始更新送餐后的状态");
        WaiterProxy waiterProxy = Facade.RetrieveProxy(WaiterProxy.NAME) as WaiterProxy;
        waiterProxy.SetWaiterWaitClientHello(notification.Body as WaiterItem);
    }
}